
<ion-content class="has-header" id="content" ng-controller="adoption" style="background: #F7F9F8;">
        <div class="financial">
            <div class="financial_hander">
                {{inData.name}}
                <span class="financial_periods">{{inData.type}}{{inData.code_p}}期</span>
            </div>
            <div class="titmer_financial_up" ng-if="inData.state===3">
                <div>
                    收益中
                </div>
            </div>
            <div class="titmer_financial_lo" ng-if="inData.state!=3">
                <div>
                    已收益
                </div>
            </div>
            <div class="financial_content">
                <ul class="push_ul">
                    <li style="border-right: 1px solid #EEEEEE">
                        <div class="number_w">{{inData.return_rate}}<span class="number_c">%</span></div>
                        <div class="number_p">往期年化</div>
                    </li>
                    <li style="border-right: 1px solid #EEEEEE">
                        <div class="number_w">{{inData.amount}}<span class="number_c">{{inData.unit}}</span></div>
                        <div class="number_p">认养数量</div>
                    </li>
                    <li>
                        <div class="number_w">{{indata.time_limit}}<span class="number_c">{{investProducts.time_type==1?"个月":"天"}}</span></div>
                        <div class="number_p">认养周期</div>
                    </li>
                </ul>
            </div>
            <div class="financial_footer">
                <div class="my_ranch_dj">
                    收益倒计时 <span>0天</span>
                </div>
            </div>
        </div>
        <!--下面内容-->
        <!--<div class="View_buttons" style="font-size: 14px;margin-top:10px;">-->
            <!--<div>-->
                <!--<p style="float: left">认养资金<span class="increa_ranch">￥{{inData.order_money}}</span>+收益资金<span class="increa_ranch">￥{{inData.income}}</span>=<span class="increa_ranch">￥{{inData.order_money+inData.income}}</span></p>-->
            <!--</div>-->
        <!--</div>-->
        <div class="View_buttons" style="border-top:1px solid #EEEEEE">
            <div>
                <p style="float: left">认养日 <span>{{inData.start_time}}</span></p>
                <p style="float: right">收益日 <span>{{inData.end_time}}</span></p>
            </div>
        </div>
        <div class="immed_wp" ng-if="inData.pay_back==1">
            <h4>回报方式<span class="mints">收益回报</span></h4>
            <div class="immed_ak">
                <ul>
                    <li class="increa_ranch" ng-if="!inData.investCoupon">
                        <!--{{inData.pay_money==0?"收益资金"<span class="increa_ranch">￥inData.income</span>:"<span>认养资金<span class="increa_ranch">￥inData.pay_money</span>+收益资金<span class="increa_ranch">￥inData.income-->
                        <!--</span>=<span class="increa_ranch">￥inData.pay_money+inData.income</span></span>"}}-->
                        {{inData.pay_money==0?"收益资金:"+"￥"+inData.income:"认养资金:"+"￥"+inData.pay_money+"+收益资金:"+"￥"+inData.income+"="+"￥"+(inData.pay_money+inData.income)}}
                    </li>
                    <li class="increa_ranch" ng-if="inData.investCoupon">
                        <!--{{inData.pay_money==0?"收益资金"<span class="increa_ranch">￥inData.income</span>:"<span>认养资金<span class="increa_ranch">￥inData.pay_money</span>+收益资金<span class="increa_ranch">￥inData.income-->
                        <!--</span>=<span class="increa_ranch">￥inData.pay_money+inData.income</span></span>"}}-->
                        {{inData.pay_money==0?"收益资金:"+"￥"+inData.income:"认养资金:"+"￥"+inData.pay_money+"+收益资金:"+"￥"+income+"+加息:"+"￥"+interest+"="+"￥"+(inData.pay_money+inData.income)}}
                    </li>
                </ul>
            </div>
        </div>
        <div class="immed_wp" ng-if="inData.pay_back==2">
            <h4>回报方式<span class="mints">实物回报 (本金不返)</span></h4>
            <div class="immed_ak">
                <ul>
                    <li>
                        <span>{{inData.back_product}}</span>
                    </li>
                </ul>
            </div>
        </div>
        <!--支付信息-->
        <div class="adoption_pay_inOf">
            <h4>支付信息</h4>
            <ul>
                <li>
                    <span>购买数量</span>
                    <span>{{inData.amount}}只</span>
                </li>
                <li>
                    <span>支付金额</span>
                    <span>￥{{inData.order_money}}</span>
                </li>
                <li>
                    <span>支付方式</span>
                    <span>{{inData.paytype=="overpay"?"钱包支付":inData.paytype=="weChat"?"微信支付":"新浪支付"}}</span>
                </li>
                <li>
                    <span>合同编号</span>
                    <span>{{inData.htcode}}</span>
                </li>
                <li>
                    <span>支付时间</span>
                    <span>{{inData.order_time}}</span>
                </li>
                <li>
                    <span>订单编号</span>
                    <span>{{inData.code}}</span>
                </li>
            </ul>
        </div>
        <div class="autograph">
            <div>
                <img ng-src="homapageimg/autograph.png" alt="">
                <span style="font-size: 14px !important;margin-top:-1px;">认养合同</span>
            </div>
            <div>
                <img ng-src="homapageimg/autograph1.png" alt="" style="display: none">
                <span></span>
                <img ng-src="myimg/message10.png" alt="">
            </div>
            <!--//遮挡-->
            <div class="sy_img" data-code="{{inData.code}}" ng-click="codeClick($event)"></div>
        </div>
</ion-content>
